package com.group6.companymanagement.service;

import com.group6.companymanagement.entity.Dept;

import java.util.List;

public interface DeptService {
    Dept getDeptById(Integer id);

    List<Dept> getAllDepts();

    int deleteDeptById(Integer id);

    int addDept(Dept dept);

    int updateDept(Dept dept);
}
